package semiproject.models;

public class PaperVO {
	
	private String email;
	private String fname;
	private String lname;
	
	private String pno; //DB데이터
	private String title;
	private String chorok;
	private String attach;
	
	private String writer;
	private String panel;
	
	private int score1;
	private int score2;
	private int score3;
	private int score4;
	
	private String comment;
	private String pcomment;
	private String regdate; //DB데이터
	
	public PaperVO(String email , String fname , String lname ,
			String title , String chorok , String attach ,
			String writer , String panel , 
			int score1 , int score2 , int score3 , int score4 ,
			String comment , String pcomment) {
		
		this.email = email;
		this.fname = fname;
		this.lname = lname;
		this.title = title;
		this.chorok = chorok;
		this.attach = attach;
		this.writer = writer;
		this.panel = panel;
		this.score1 = score1;
		this.score2 = score2;
		this.score3 = score3;
		this.score4 = score4;
		this.comment = comment;
		this.pcomment = pcomment;
		
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getPno() {
		return pno;
	}

	public void setPno(String pno) {
		this.pno = pno;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getChorok() {
		return chorok;
	}

	public void setChorok(String chorok) {
		this.chorok = chorok;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getWriter() {
		return writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getPanel() {
		return panel;
	}

	public void setPanel(String panel) {
		this.panel = panel;
	}

	public int getScore1() {
		return score1;
	}

	public void setScore1(int score1) {
		this.score1 = score1;
	}

	public int getScore2() {
		return score2;
	}

	public void setScore2(int score2) {
		this.score2 = score2;
	}

	public int getScore3() {
		return score3;
	}

	public void setScore3(int score3) {
		this.score3 = score3;
	}

	public int getScore4() {
		return score4;
	}

	public void setScore4(int score4) {
		this.score4 = score4;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getPcomment() {
		return pcomment;
	}

	public void setPcomment(String pcomment) {
		this.pcomment = pcomment;
	}

	public String getRegdate() {
		return regdate;
	}

	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}
	
	@Override
	public String toString() {
		
		StringBuilder sb = new StringBuilder();
		
		sb.append(email).append("/").append(fname).append("/").append(lname)
		.append("/").append(pno).append("/").append(title).append("/")
		.append(chorok).append("/").append(attach).append("/").append(writer)
		.append("/").append(panel).append("/").append(score1).append("/")
		.append(score2).append("/").append(score3).append("/").append(score4)
		.append("/").append(comment).append("/").append(pcomment).append("/")
		.append(regdate);
		
			return sb.toString();


	}

	
}